namespace java demo

struct addStoreReq{
    1:i32 id
    2:string storeName
    3:i32 type
    4:string uuid
    5:string identitionTime
    6:string createAt
    7:i32 status
}


struct deleteStoreReq{
    1:i32 id
}

struct updateStoreReq{
    1:i32 id
    2:string storeName
    3:i32 type
    4:string uuid
    5:string identitionTime
    6:string createAt
    7:i32 status
}

struct getStoreReq{
    1:i32 id
    2:string storeName
    3:i32 type
    4:string uuid
    5:string identitionTime
    6:string createAt
    7:i32 status
}

service storeInterface{
    i32 addStore(1:addStoreReq req)
    i32 deleteStore(1:deleteStoreReq req)
    i32 updateStore(1:updateStoreReq req)
    list<getStoreReq>getStore(1:i32 id 2:string uuid)
}
